import logging
def log_collect():
    logging.basicConfig(filename=".\log\debug_log",
                        filemode="a+",
                        level=logging.DEBUG,
                        format="%(filename)s->%(asctime)s->%(message)s->%(lineno)d"
                        )